package com.cyou.qb.service;

import com.cyou.qb.common.domain.vo.DrawAward;
import com.cyou.qb.exception.DrawException;
import com.cyou.qb.face.exception.QbGetDataException;

/**
 * @author zoudongchao
 * Draw Service
 */
public interface DrawService extends BaseService{
	/**
	 * <p>抽奖逻辑</p>
	 * 用户登陆状态及活动状态判断交由上层判断
	 * @param activeId
	 * 			活动id
	 * @param uCenterId
	 * 			用户中心id，用于173接口调用
	 * @param passport
	 * 			通行证，用于数据库查询
	 * @return
	 * 			
	 * @throws DrawException
	 * @throws QbGetDataException
	 */
	public DrawAward draw(int activeId, int uCenterId, String passport) throws DrawException,QbGetDataException,Exception;
}
